/**
 * API 1.0版本
 */
import express from "express"
const router = express.Router()

/***********公共模块↓ ************/
import TestController from "../controllers/common/TestController"

router.post("/tqtest", TestController)


import AddLeaveController from "../controllers/AddLeaveController"
import GetLeaveListController from "../controllers/GetLeaveListController"
import DeleteLeaveController from "../controllers/DeleteLeaveController"

router.post("/addLeave", AddLeaveController)
router.get("/getLeaveList", GetLeaveListController)
router.post("/deleteLeave", DeleteLeaveController)


export default router
